package com.quectel.core.module.grid.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhangheng
 * @email nolan.zhang@quectel.com
 * @date 2023/02/03 16:42
 */
@Data
@Schema
public class GridEventRecordHandleDto implements Serializable {

    /**
     * gridEventRecordId
     */
    @Schema(description = "gridEventRecordId")
    private Long gridEventRecordId;

    /**
     * 当前操作1申请办结2反馈上级3办结4驳回
     */
    @Schema(description = "gridEventRecordId")
    private Byte handleStatus;

    /**
     * 详情
     */
    @Schema(description = "详情")
    private String detail;

    /**
     * 相关图片
     */
    @Schema(description = "相关图片")
    private String picturesJson;

    /**
     * 新的逾期时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @Schema(description = "新的逾期时间")
    private Date newDeadline;

}
